package demo5;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: wx
 * Date: 2023-09-04
 * Time: 18:08
 */

interface A {
     void testA();
}

interface B extends A {
    void testB();
}//B不仅具备B自己的功能，而且具备了A的功能

class TestDome1 implements B {

    @Override
    public void testA() {

    }

    @Override
    public void testB() {

    }
}

public class Test {
}
